Cannot drop foreign key during Laravels migration refresh

45

Schema::table('admins', function (Blueprint $table) {    $table->dropForeign('admins_post_id_foreign');    $table->dropColumn('post_id');});

Comments

Submit
0 Comments